<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="utf-8">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Content-Language" content="UTF-8" />
	<meta content="all" name="robots" />
	<meta name="author" content="tiger"/>
	<meta name="Copyright" content="jinzhou group" />
	<meta name="description" content="jinzhou group oa" />
	<title>新申请</title>
	<link rel="stylesheet" type="text/css" href="../css/default/new_app2.css" />
	<script language="javascript" src="../js/jquery/jquery.js"></script>
	<script language="javascript" src="../js/pub-jquery.js"></script>
	<script language="javascript" src="../js/jquery/jquery.simplemodal.js"></script>
	<script lanugage="javascript" src="../js/jquery/jquery.dimensions.js"></script>
	<script language="javascript" src="../js/jquery/jquery.blockUI.js"></script>
	<script language="javascript" src="../js/jquery/jquery.pagination.js"></script>
	<script language="javascript" src="../js/jquery/jquery.form.js"></script>
	<script language="javascript" src="../js/jquery/jquery.tooltip.js"></script>
	<script language="javascript" src="../js/jquery/jquery.curvycorners.js"></script>
	<script language="javascript" src="../js/jquery/hg.calendar.js"></script>
	<script language="javascript" src="../js/oa_datas/data_company_position.js"></script>
	<% if $tpl_type==2 %><script language="javascript" src="../fckeditor/fckeditor.js"></script><% /if %>
	<script language="javascript" src="../js/default/new_app2.js"></script>
</head>
<body>
<div class="container">
	<input id="user_id" name="user_id" type="hidden" value="<% $session_id %>" />
	<input id="is_master" name="is_master" type="hidden" value="<% $is_master %>" />
	<input id="tpl_id" name="tpl_id" type="hidden" value="<% $tpl_id %>" />
	<input id="tpl_type" name="tpl_type" type="hidden" value="<% $tpl_type %>" />
	<% if $tpl_type==1 %><input id="tpl_name_areas" name="tpl_name_areas" type="hidden" value="" /><% /if %>
	<input id="doc_to" name="doc_to" type="hidden" value="<% if $is_master==1 %>-1<% else %><% $doc_to %><% /if %>" />
	<input id="accessory_list" name="accessory_list" type="hidden" value="" />
	<h1 class="page_header_1">新申请</h1>
	<div id="opration_bar">
		操作：
		<input type="button" id="apply_go" name="apply_go" value="发送" />
		<!-- <input type="button" value="保存" />
		<input type="button" value="附件" />
		<input type="button" value="紧急程度" /> -->
		<input type="button" id="cancel_apply" name="cancel_apply" value="取消" />
	</div>
	<table id="table_level1" cellspacing="0">
	<tr>
		<td colspan="2" id="doc_belongto_title">&nbsp;[ <% $class_name %> -&gt; <% $tpl_name %> ]：</td>
	</tr>
	<tr>
		<td>
			<table id="table_level2" cellspacing="0">
				<tr>
					<td width="80px"><input type="button" class="topic_button" value="主题：" /></td>
					<td><input type="text" class="topic_input" id="doc_title" name="doc_title" /></td>
				</tr>
				<tr>
					<td><input type="button" id="show_doc_receiver" name="show_doc_receiver" class="topic_button" value="收件人：" /></td>
					<td><input type="text" disabled="disabled" id="doc_to_zh" name="doc_to_zh" class="topic_input" value="<% if $is_master==1 %>&lt;-- 请点击选择收件者<% else %><% $master_path %><% /if %>" /></td>
				</tr>
				<tr>
					<td colspan="2">
						<% if $tpl_type==1 %><div id="editor" class="editor_form"></div>
						<% elseif $tpl_type==2 %><div id="editor" class="editor_edit"><textarea id="fcked" name="fcked"></textarea></div><% /if %>
					</td>
				</tr>
			</table>
		</td>
		<td width="150px" bgcolor="white" id="table_right">
			<div class="right_block">
				<div>紧急程度：</div>
				<select id="instancy" name="instancy">
					<option value="1">一般</option>
					<option vlaue="2">紧急</option>
					<option value="3">加急</option>
				</select>
			</div>
			<div class="right_block">
				<div>附件：</div>
				<select size="8" id="accessory_list_select" name="accessory_list_select"></select>
				<input type="button" id="add_accessory_button" name="add_accessory_button" value="添加/删除附件" />
			</div>
		</td>
	</tr></table>
</div>

<!-- 蒙版的元素 -->
<!-- 选择收件人：开始 -->
<div id="doc_receive" style="display:none;">
  <div class="modal_header">选择收件人</div>
  <div class="modal_content">
  <!-- 选择公司 -->
  <div class="column">
    <fieldset>
      <legend>公司</legend>
	  <div>
	    <select id="company_list" name="company_list" size="8"></select>
	  </div>
	</fieldset>
  </div>
  <!-- 选择部门 -->
  <div class="column">
    <fieldset>
      <legend>部门</legend>
	  <div>
	    <select id="section_list" name="section_list" size="8"></select>
	  </div>
	</fieldset>
  </div>
  <!-- 选择收件人 -->
  <div class="column">
    <fieldset>
      <legend>收件人</legend>
	  <div>
	    <select id="doc_receiver" name="doc_receiver" size="8"></select>
	  </div>
	</fieldset>
  </div>
  </div>
  <div class="modal_footer">
    <input type="button" id="doc_receiver_ok" name="doc_receiver_ok" value="确定"/>
  </div>
</div>
<!-- 选择收件人：结束 -->


</body>
</html>
